//
//  CCAnimationHelper.h
//  NewYearRun
//
//  Created by Lion User on 11/01/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"   

@interface CCAnimation (Helper)   
//直接索引图片名称   
+(CCAnimation*) animationWithFile:(NSString*)name frameCount:(int)frameCount delay:(float)delay;   
//利用帧缓存中的帧名称   
+(CCAnimation*) animationWithFrame:(NSString*)frame frameCount:(int)frameCount delay:(float)delay;   
@end   
